import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SPublicMiniPlayer } from "./SPublicMiniPlayer";
import { EArenaOutLine } from "./EArenaOutLine";
type int = number;
//class SArenaCrossToplist
    
    export  class SArenaCrossToplist
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.miniPlayer.__write(arg1);
            arg1.writeInt(this.rank);
            arg1.writeString(this.guildName);
            arg1.writeInt(this.myProcess);
            arg1.writeInt(this.winNum);
            arg1.writeInt(this.loseNum);
            arg1.writeInt(this.lifePer);
            this.outLine.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.miniPlayer = new SPublicMiniPlayer();
            this.miniPlayer.__read(arg1);
            this.rank = arg1.readInt();
            this.guildName = arg1.readString();
            this.myProcess = arg1.readInt();
            this.winNum = arg1.readInt();
            this.loseNum = arg1.readInt();
            this.lifePer = arg1.readInt();
            this.outLine = EArenaOutLine.__read(arg1);
            return;
        }

        public /* var */miniPlayer: SPublicMiniPlayer;

        public /* var */rank: int;

        public /* var */guildName: string;

        public /* var */myProcess: int;

        public /* var */winNum: int;

        public /* var */loseNum: int;

        public /* var */lifePer: int;

        public /* var */outLine: EArenaOutLine;
    }
